<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/css/swiper.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/css/swiper.min.css">
<!--    <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.js"></script>-->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/js/swiper.min.js"></script>
<!--    <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.x.x/js/swiper.esm.js"></script>-->
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/4.0.2/js/swiper.esm.bundle.js"></script>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            position: relative;
            width: 600px;
            margin: 0 auto;
        }
        .top{
            display: block;
            width: 500px;
            height: 40px;
            margin: 0 auto;
            text-align: center;
            white-space: nowrap;
            z-index: 2;
            padding: 10px;
        }
        .bia{
            margin: 100px;
            width: 500px;
            height: 500px;
            display: grid;
            grid-template-rows: 100px 100px ;
            grid-template-columns: 100px 100px 100px 100px 100px;
            text-align: center;
            align-items: center;
            grid-column-gap: 3px;
            grid-row-gap: 3px;
        }
        .tu {
            position: absolute;
            top: 560px;

            width: 600px;
            height: 600px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 300px 300px;
            grid-template-rows: 300px 300px;
            grid-column-gap: 10px ;
            grid-row-gap: 5px;
        }
        .hh {
            position: absolute;
            top: 1800px;
            left: 480px;
            width: 620px;
            height: 900px;
            /*border: 1px solid blueviolet;*/
            margin: 0 auto;
            display: grid;
            grid-template-columns: 300px 300px;
            grid-template-rows: 300px 300px 300px;
            grid-column-gap: 10px;
            grid-row-gap: 5px;
        }
        .hh img{
            width: 250px;
            height: 200px;
        }
        .tu div:nth-of-type(1){
            grid-row:1/3;
        }
        .tu img {
            height:100%;
            width: 100%;
        }
        .yy{
            position: absolute;
            top: 1170px;
            margin: 0 auto;
        }
        .yy img{
            width: 600px;
            height: 300px;
            margin: 0 auto;
        }
        .bia img{
            width: 100px;
            height: 100px;
            margin: 0 auto;
        }
        .bia {
            width: 500px;
            margin:0 auto;
        }
        .swiper-container {
            width: 600px;
            height: 300px;

        }
        .bia img:hover{
            transform: scale(1.1);
        }
        .name p{
            text-align: center;
        }


        .hh div img{
            width: 100%;
        }
        .hh div .name span{
            background: red;
            height: 35px;
            width: 100px;
            color: white;
            display: block;
            margin: 0 auto;
            text-align: center;
            line-height: 35px;
            border-radius: 5px;
        }
        a{
            text-decoration: none;
        }
        .hh div .name span a{
            color: white;
            height: 50px;
            width: 100px;
            display: block;
            text-align: center;
        }
    </style>
</head>

<body>
<div class="box">
    <div class="top">
        <a href="">推荐</a>
        <a href="">手机</a>
        <a href="">智能</a>
        <a href="">电视</a>
        <a href="">笔记本</a>
        <a href="">家电</a>
        <a href="">推荐</a>
        <a href="">生活周边</a>
    </div>

    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/01a7bb2291d5d36fc73483cb7e9a6394.jpg?thumb=1&w=720&h=360" height="100%" width="100%"/>
            </div>
            <div class="swiper-slide">
                <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/030396c376f4550691f51af4c50765af.jpg?thumb=1&w=720&h=360"height="100%" width="100%">
            </div>
            <div class="swiper-slide">
                <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/af6ebe52e65f8d649db2cbf2845c13b5.jpg?thumb=1&w=720&h=360" height="100%" width="100%">
            </div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>

        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next">


            <!--     如果需要滚动条 -->
            <!--    <div class="swiper-scrollbar"></div>-->
            <script>
                var mySwiper = new Swiper ('.swiper-container', {
                    // direction: 'vertical', // 垂直切换选项
                    loop: true, // 循环模式选项
                    effect:'',

                    // 如果需要分页器
                    pagination: {
                        el: '.swiper-pagination',
                    },

                    // 如果需要前进后退按钮
                    navigation: {
                        nextEl: '.swiper-button-next',
                        prevEl: '.swiper-button-prev',
                    },

                    // 如果需要滚动条
                    // scrollbar: {
                    //     el: '.swiper-scrollbar',
                    // },
                })

            </script>
            <!--    <div>-->
            <!--<div class="bia">
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cb65daec7ef7b52cc785f88f78efba37.png?w=216&h=228&bg=FDF1E6"></div>
                <div><img src="https://i8.mifile.cn/v1/a1/eb5024fe-dfe3-6e53-3e18-675bef5fa06e.webp?w=216&h=228&bg=EAF6FD"></div>
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/d436f30612651fffe1d6c5aaa3fdb816.png?f=webp&w=216&h=228&bg=FFFFFF"></div>
                <div><img src="https://i8.mifile.cn/v1/a1/e8bc849a-0a3b-21a0-6810-7da3a3903dee.webp?w=216&h=228&bg=FDEFDE"></div>
                <div><img src="https://i8.mifile.cn/v1/a1/7dbcbf87-6a58-adb6-2f3f-bb3dae3e9c80.webp?w=216&h=228&bg=E5F4FC"></div>
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/64f3988b6216e4c1ab62a7f50df3e816.png?f=webp&w=216&h=228&bg=FFFFFF"></div>
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9ea68dee2bfa0e55a82236b0d968e975.png?w=216&h=228&bg=FCEAEA"></div>
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/96c780016ea196743905dc93f9249c39.png?w=216&h=228&bg=FDF5E5"></div>
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9425031cdd7af22d9a23a5ae16d1f57c.jpg?f=webp&w=216&h=228&bg=FFFFFF"></div>
                <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/f11f9df6b0b0b428f8c8fc3267131830.png?w=216&h=228&bg=FDEDE8"></div>
            </div>


                &lt;!&ndash;    <style type="text/css">&ndash;&gt;
                &lt;!&ndash;        .swiper-container{&ndash;&gt;
                &lt;!&ndash;            &#45;&#45;swiper-theme-color: #ff6600;/* 设置Swiper风格 */&ndash;&gt;
                &lt;!&ndash;            &#45;&#45;swiper-navigation-color: #00ff33;/* 单独设置按钮颜色 */&ndash;&gt;
                &lt;!&ndash;            &#45;&#45;swiper-navigation-size: 30px;/* 设置按钮大小 */&ndash;&gt;
                &lt;!&ndash;    /*</style>*/&ndash;&gt;

                &lt;!&ndash;</div>&ndash;&gt;

                 &lt;!&ndash;   <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cb65daec7ef7b52cc785f88f78efba37.png?w=216&h=228&bg=FDF1E6"></div>
            <div><img src="https://i8.mifile.cn/v1/a1/eb5024fe-dfe3-6e53-3e18-675bef5fa06e.webp?w=216&h=228&bg=EAF6FD"></div>
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/d436f30612651fffe1d6c5aaa3fdb816.png?f=webp&w=216&h=228&bg=FFFFFF"></div>
            <div><img src="https://i8.mifile.cn/v1/a1/e8bc849a-0a3b-21a0-6810-7da3a3903dee.webp?w=216&h=228&bg=FDEFDE"></div>
            <div><img src="https://i8.mifile.cn/v1/a1/7dbcbf87-6a58-adb6-2f3f-bb3dae3e9c80.webp?w=216&h=228&bg=E5F4FC"></div>
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/64f3988b6216e4c1ab62a7f50df3e816.png?f=webp&w=216&h=228&bg=FFFFFF"></div>
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9ea68dee2bfa0e55a82236b0d968e975.png?w=216&h=228&bg=FCEAEA"></div>
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/96c780016ea196743905dc93f9249c39.png?w=216&h=228&bg=FDF5E5"></div>
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9425031cdd7af22d9a23a5ae16d1f57c.jpg?f=webp&w=216&h=228&bg=FFFFFF"></div>
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/f11f9df6b0b0b428f8c8fc3267131830.png?w=216&h=228&bg=FDEDE8"></div>
            <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cb65daec7ef7b52cc785f88f78efba37.png?w=216&h=228&bg=FDF1E6" alt="">&ndash;&gt;
             </div>-->
        </div>

    </div>
    <div class="bia">
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cb65daec7ef7b52cc785f88f78efba37.png?w=216&h=228&bg=FDF1E6"></div>
        <div><img src="https://i8.mifile.cn/v1/a1/eb5024fe-dfe3-6e53-3e18-675bef5fa06e.webp?w=216&h=228&bg=EAF6FD"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/d436f30612651fffe1d6c5aaa3fdb816.png?f=webp&w=216&h=228&bg=FFFFFF"></div>
        <div><img src="https://i8.mifile.cn/v1/a1/e8bc849a-0a3b-21a0-6810-7da3a3903dee.webp?w=216&h=228&bg=FDEFDE"></div>
        <div><img src="https://i8.mifile.cn/v1/a1/7dbcbf87-6a58-adb6-2f3f-bb3dae3e9c80.webp?w=216&h=228&bg=E5F4FC"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/64f3988b6216e4c1ab62a7f50df3e816.png?f=webp&w=216&h=228&bg=FFFFFF"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9ea68dee2bfa0e55a82236b0d968e975.png?w=216&h=228&bg=FCEAEA"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/96c780016ea196743905dc93f9249c39.png?w=216&h=228&bg=FDF5E5"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9425031cdd7af22d9a23a5ae16d1f57c.jpg?f=webp&w=216&h=228&bg=FFFFFF"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/f11f9df6b0b0b428f8c8fc3267131830.png?w=216&h=228&bg=FDEDE8"></div>
    </div>
    <div class="tu">
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/d692a30ee3d586c4274575eec255d3c5.jpg?f=webp&w=537&h=762&bg=C1DDE9"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/827a686678f39b1bbdc99c6e6b6a13c8.jpg?f=webp&w=537&h=378&bg=DAECFA"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/267e988a99b5cf4e960747e8aa5fa831.jpg?f=webp&w=537&h=378&bg=EDFBFC"></div>
        </div>
        <div class="yy">
            <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/189acdf7e9b807cfc22d394df87c1958.jpg?f=webp&w=1080&h=420&bg=FEFEFE"></div>
        <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/e32eea5c3c27062019f9ac6434b351df.jpg?f=webp&w=1080&h=660&bg=FFFFFF"></div>
</div>
</div>
<div class="hh">
    <div>
        <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/7ed6090953a4edca0ee6bc4b36cb4a9e.jpg?thumb=1&w=344&h=280">
        <div class="name">
            <p>小米10 Pro</p>
            <p style="color:#bbbbbb">骁龙865/50倍变焦</p>
            <p style="color: red">￥4999起</p>
            <span><a href="#">立即购买</a></span>

        </div>
    </div>
    <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9b3b7c52bffab0806c54652ee0872a64.jpg?thumb=1&w=344&h=280">
    <div class="name">
        <p>小米10</p>
        <p style="color:#bbbbbb">骁龙865/1亿像素相机</p>
        <p style="color: red">￥3999起</p>
        <span><a href="#">立即购买</a></span>

    </div> </div>
    <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/64a04d4f67a23c2d8643aaba52e2392b.jpg?thumb=1&w=344&h=280">
    <div class="name">
        <p>Redmi k30 4G</p>
        <p style="color:#bbbbbb">120Hz 流速屏，全速热爱</p>
        <p style="color: red">￥1399起</p>
        <span><a href="#">立即购买</a></span>
    </div>
    </div>
    <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/cf8c841ab5e52d443be110f6aa7e0d98.jpg?thumb=1&w=344&h=280">
        <div class="name">
        <p>Redmi k30 5G</p>
        <p style="color:#bbbbbb">双模5G，120Hz流速屏</p>
        <p style="color: red">￥1699起</p>
        <span><a href="#">立即购买</a></span>
    </div>
        </div>
    <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/53e729d30746033a042d8ae9399553a7.jpg?thumb=1&w=344&h=280">
        <div class="name">
            <p> Redmi Note 8pro </p>
            <p style="color:#bbbbbb">6400万全场景四摄</p>
            <p style="color: red">￥1099起</p>
            <span><a href="#">立即购买</a></span>

    </div> </div>
    <div><img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/8025107813883a20d3f2d956ad80ea38.jpg?thumb=1&w=344&h=280">
        <div class="name">
            <p> Redmi Note 8 </p>
            <p style="color:#bbbbbb">千元4800万四摄</p>
            <p style="color: red">￥899起</p>
            <span><a href="#">立即购买</a></span>
        </div>
    </div>


</div>

</body>
</html>